home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / New System Software Extensions / OpenDoc A6 / OpenDoc Parts Framework / OPF / Examples / Movie / Include / MovieSel.h < prev   
Encoding:
Text File  |  1994-04-21  |  2.1 KB  |  68 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                            MovieSel.h
  4. //    Release Version:    $ 1.0d1 $
  5. //
  6. //    Author:                        Lonnie Millett
  7. //    Creation Date:        3/28/94
  8. //
  9. //    Copyright:    © 1993, 1994 by Apple Computer, Inc., all rights reserved.
  10. //
  11. //========================================================================================
  12.  
  13. #ifndef MOVIESEL_H
  14. #define MOVIESEL_H
  15.  
  16. // ----- FrameWork Includes -----
  17.  
  18. #ifndef FWSELECT_H
  19. #include <FWSelect.h>
  20. #endif
  21.  
  22. //==============================================================================
  23. //    •• Forward Declarations
  24. //==============================================================================
  25.  
  26. class CMoviePart;
  27. class CDrawFrame;
  28. class FW_CFacet;
  29. class CSelectionIterator;
  30.  
  31. //==============================================================================
  32. //    •• class CMovieSelection
  33. //==============================================================================
  34.  
  35. class CMovieSelection : public FW_CSelection
  36. {
  37.     
  38. //------------------------------------------------------------------------------
  39. //    • Initialization/Destruction
  40. //------------------------------------------------------------------------------
  41. public:
  42.     CMovieSelection();
  43.     void            InitMovieSelection(CMoviePart* moviePart);
  44.     virtual         ~CMovieSelection();
  45.     
  46. //------------------------------------------------------------------------------
  47. //    • Inherited API
  48. //------------------------------------------------------------------------------
  49. public:
  50.     virtual void        CloseSelection();
  51.     virtual void        SelectAll();
  52.     virtual FW_Boolean    IsEmpty() const;
  53.  
  54.     // ----- Cut/Copy/Paste/Clear -----
  55.     virtual FW_Boolean    DoClear();
  56.     
  57.     virtual void        ExternalizeSelection(XMPStorageUnit* storageUnit, FW_CFrame* commandFrame, XMPCloneKind cloneKind);
  58.     virtual FW_Boolean    InternalizeSelection(XMPStorageUnit* storageUnit, XMPCloneKind cloneKind);
  59.     void PasteOSTypeToMovies(FW_PlatformHandle newHandle, OSType handleType);
  60.  
  61. //------------------------------------------------------------------------------
  62. //    • Data Members
  63. //------------------------------------------------------------------------------
  64. private:
  65.     CMoviePart*            fMoviePart;
  66. };
  67.  
  68. #endif